package org.zxy.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.zxy.base.domain.BaseDomain;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee extends BaseDomain {

    private Long id;
    @Excel(name = "username")
    private String username;
    @Excel(name = "password")
    private String password;
    @Excel(name = "departmentId")
    private String departmentId;
    @Excel(name = "email")
    private String email;
    @Excel(name = "headImage")
    private String headImage;
    @Excel(name = "age")
    private Integer age;
    @ExcelEntity
    //关联查询
    private Department department;
    public Employee(int i, String username) {
        super();
    }
}
